home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Now 11 / CD-ROM Now MegaDisc 11 (1995-02).iso / vpic / config.doc < prev    next >
Text File  |  1993-07-15  |  12KB  |  190 lines

  1.     CONFIGURING VPIC
  2.  
  3.     VPIC must be configured to run correctly with your display board.  The  con-
  4.     figuration process tells VPIC:
  5.     1. The title you want for the menu.
  6.     2. What VGA chip you have, so it can use the proper bank switching routine.
  7.     3. How much memory you have (in 64K banks).
  8.     4. The menu color you want (background:foreground).
  9.     5. How to set the various modes you want to use.
  10.  
  11.     This method is used instead of trying to autodetect the VGA chip and  memory
  12.     (unless you have a board that supports VESA) because:
  13.     1. Some chips are very hard to detect, and memory on board is even harder.
  14.     2. As new VGA chips are released, there is a delay before the detection is
  15.        implemented in the program.
  16.     3. The WHICHVGA program is provided to autodetect the VGA chip and memory,
  17.        but it fails on some chips.
  18.     4. The config file provides more user control than automatic means.
  19.  
  20.     If you aren't sure which VGA chip your board uses,  you  can  run  WHICHVGA,
  21.     which will try to identify your VGA chip and the amount of memory you  have.
  22.     Also check for a list of some of the VGA boards each  chip  was used  on. If
  23.     this doesn't work, you can remove the display board and look  at  the  label
  24.     on the large chip with leads coming out all four sides. Sometimes,  you  can
  25.     tell without removing the board by using DEBUG (or Turbo Debugger, Codeview,
  26.     or any debugger) and 'dumping' the contents of display  BIOS.  To  do  this,
  27.     enter DEBUG at the DOS prompt and you  will  get  a  -  prompt.  Then  enter
  28.     dC000:0 to display the first part of display BIOS. To  dump  more  of  BIOS,
  29.     juts enter d. You may recognize the chip manufacturers name  here,  such  as
  30.     ATI, Trident, Tseng, Paradise, etc. To exit DEBUG, just enter q.
  31.  
  32.     If WHICHVGA comes back with VESA, that means that your  board  supports  the
  33.     VESA standard, which offers a standard interface for VPIC to  your  SuperVGA
  34.     display adapter. It defines the SuperVGA extended modes that your card  will
  35.     do, and has a standard interface for setting the mode  and  bank  switching,
  36.     etc. You  may  have  received  a  VESA  `Terminate and Stay Resident'  (TSR)
  37.     program with your VGA board. If so, you are encouraged to use it,  since  it
  38.     more or less guarantees that VPIC will work with your display card. The only
  39.     disadvantage of VESA is concerned with scrolling the VGA screen, since there
  40.     is no standard interface for setting the top of screen beyond 16 bits  (line
  41.     81 at 800x600x256, line 102 at 640x480x256, or  line  204  at  320x200x256).
  42.     This version of VPIC automatically reads the VESA  info  from  your  display
  43.     BIOS, and uses the VESA interface. If you enter VPIC  with  the  /v  option,
  44.     VESA info is ignored and VPIC uses the  configuration  file  info;  this  is
  45.     helpful when VESA returns info VPIC isn't expecting or no  info  on  certain
  46.     modes, such as 32K, 64K or 24 bit color. A generic VESA.CFG file is supplied
  47.     for you to play with to try to get your VESA card to work; see below on what
  48.     each entry means;  again,  you have to use the  /v  option  to  enable  this
  49.     configuration info.
  50.  
  51.     If the top line in VPIC says VESA,  then VPIC is using VESA info returned by
  52.     your SVGA card.  If the only resolution listed is 320x200, there is probably
  53.     a problem with your memory manager.  To verify this, try booting with from a
  54.     DOS floppy with no memory manager. I only exclude B000-B7FF (used by Windows)
  55.     and C000-C7FF (Video ROM),  and  I found that stealth mode confuses the SVGA
  56.     VESA routines, so I don't use stealth.
  57.  
  58.     The current VPIC config file VGA chips and the VGA chip manufacturers are:
  59.     VGA Chip    Manufacturer/version        Comments
  60.     =================================================================
  61.     ACUMOS     Acumos                  Voltane, No. 9 GXiTC, others
  62.     AHEADA     Ahead ver A             Older Ahead cards.
  63.     AHEADB     Ahead ver B             Ahead VGA Wizard/Deluxe.
  64.     ATIOLD*    ATI, 1024x768x16 mode 65h   ATI ver 1 chip, VGAWonder.
  65.     ATINEW*    ATI, 1024x768x16 mode 55h   ATI ver 2 up chip, VGAWonder+.
  66.     ATIULTRA   For the ATI Ultra, be sure to run ATI's HDILOAD program first to
  67.                activate the 8514A interface for the 1024x768x256 mode.
  68.     CIRRUS     Cirrus CL-GD 500/600    MaxLogic MaxVGA boards NOT SUPPORTED.
  69.     CIRRUS54   Cirrus GD54 (VESA)      Genoa 8500, Boca Super X, others. Run VPIC
  70.                                        with the /v option.
  71.     CHIPSTECH  Chips & Technology 82C452   Cardinal, Older Boca.
  72.     EVEREX     Original Everex chip
  73.     EVBIOS     Everex 673, etc         Has bank switching built into BIOS.
  74.     GENOA      Genoa (Sim ET 3000)     5300/6300 = 256K, others = 512K.
  75.     HEADLAND   Headland HT-208         Used on VGA-1024i.
  76.     NCR        NCR                     Boca, PVGA 1024i, etc
  77.     OAK        Oak
  78.     PARADISE   Paradise                Older Paradise cards.
  79.     PRIMUS     Primus                  Used in Galaxy 2000 cards.
  80.     QVISION    Compaq Qvision          Used on some Compaq's.
  81.     REALTEK    Realtek                 Used in RTVGA boards.
  82.     S3         S3 GUI Accelerator      Used on older Orchid Fahr 1280, Diamond
  83.                                        Stealth, Genoa Windows VGA, etc.
  84.     S3NEW      S3 GUI (VESA)           Used on newer S3 boards. Works thru VESA
  85.                                        so run VPIC with the /v option.
  86.     TRI88BR    Trident TVGA 8800BR     Used on older Trident boards, 128K banks.
  87.     TRI88CS    Trident TVGA 8800CS     Used on older Trident boards (Maxxon)
  88.     TRI89      Trident TVGA 8900       Latest Trident VGA chip, 1M memory avail.
  89.     TS3000     Tseng ET 3000           Used on early Genoa, Orchid, others.
  90.     TS4000     Tseng ET 4000           Recent Orchid, STB, other, 1M memory.
  91.     TS4000HI   Tseng ET 4000 HiColor   Does 32K colors to 800x600, 1M memory.
  92.     WD90C      Western Digital WD90C00  Recent Paradise cards, same operation.
  93.     VIDEO7     Video 7                 Earlier Video 7 boards, BIOS bank switch.
  94.                                         Hewlett Packard SVGA.
  95.     ZYMOS      Zymos Poach 51          True Tech HiRes and others.
  96.     VESA       VESA Standard           For boards which have VESA in BIOS.
  97.     * For ATI boards, certain modes may not be enabled (such as 800x600)  unless
  98.       you choose the proper (or custom) monitor in ATI's INSTALL program.
  99.  
  100.     As new chips become available, they will be added to this list. Run WHICHVGA
  101.     to find your VGA chip (works most of the time), and then run CONFIG and find
  102.     a CFG file using that VGA chip. Check that the modes agree with the graphics
  103.     modes in your manual (16 and 256 color modes only); if they match your  card
  104.     exactly, use that CFG file by pressing ENTER. If not, copy the closest  file
  105.     to a new filename with extension CFG and change the modes to agree with your
  106.     manual. Make the title and menu color whatever you like  (see  CONFIGURATION
  107.     FILE FORMAT). Then  rerun  CONFIG,  pick  that  file,  and  press  ENTER  to
  108.     configure VPIC. There are numerous configuration files which come with VPIC,
  109.     but there are so many boards out there that I can't list all of them.
  110.  
  111.     MENU CONFIGURATION
  112.     To configure VPIC, make sure that VPIC, CVPIC,  CONFIG,  and  all  the  .CFG
  113.     files are in the current directory. By running the CONFIG program, VPIC  can
  114.     be configured from a menu. CONFIG lists all the configuration files (with  a
  115.     .cfg extension) in the current directory, and shows you the contents of each
  116.     as you move around the list using the cursor keys. ESCape aborts the  CONFIG
  117.     program without changing VPIC, and ENTER configures VPIC for the highlighted
  118.     file. Pressing a letter key jumps to next filename starting with that letter
  119.     (or number).
  120.  
  121.     MANUAL CONFIGURATION
  122.     You can use CVPIC to configure VPIC manually by entering:
  123.          CVPIC config_file[.ext]
  124.     where the default extension is .cfg and  config_file  is  the  configuration
  125.     file you want to use.
  126.  
  127.  
  128.  
  129.  
  130.     CONFIGURATION FILE (.CFG) FORMAT
  131.     CVPIC ignores leading spaces and blank lines in the file, and all characters
  132.     after a semicolon are considered comments and ignored. The .CFG file contains
  133.     the following lines, which can be up to 150 characters in length each:
  134.  
  135.         1. Board name, which will appear in the VPIC menu. This is user  define-
  136.            able, and could be something like 'Joe's VGA Board'.
  137.  
  138.         2. VGA CHIP should be one of the names supported  by  VPIC;  see  above.
  139.            Upper or lower case is OK.
  140.  
  141.         3. The number of 64K banks of display ram usable  for  pictures  (1  for
  142.            standard VGA (no extended modes), 4 for 256K, 8 for 512K, 16 for 1M).
  143.  
  144.         4. Menu text color. A number whose value is  background*16 + foreground.
  145.            The allowable background colors are  0  thru  7,  and  the  allowable
  146.            foreground colors are 0 thru 15. This number is easiest to figure  if
  147.            entered in hex (prefixed by 0x); then the 1st digit is the background
  148.            color (0-7) and the 2nd digit is  the  foreground  color  (0-F).  The
  149.            digits correspond to black (0), blue (1),  green (2),  aqua (3),  red
  150.            (4), violet (5), brown (6), and white (7), and  the  digits  8-F  are
  151.            intensified versions of the 0-7. For example, 0x3E would tell VPIC to
  152.            use bright yellow text on an aqua background. CONFIG gives the  value
  153.            in hex, and the corresponding foreground-background colors.
  154.  
  155.         5 thru n. The following lines describe the modes supported by the board.
  156.           Each line is of the form: F1 F2 AX BX CX DX W H C G P where:
  157.             *  F1 = 0 for 16 color modes, 1 for 256 color modes, > 1 for  Sierra
  158.                DAC modes (for Targa's only) as follows:
  159.                     2 => 15 bits/pixel (32,000 colors)
  160.                     3 => 16 bits/pixel (64,000 colors)
  161.                     4 => 24 bits/pixel (16,000,000 colors)
  162.             *  F2 = 0 for EGA (640x350x16) with 64 colors to choose from, and  1
  163.                for all others modes (which have 256,000 colors to choose from).
  164.             *  AX,BX,CX,DX  register values used to set this mode. Preceding the
  165.                numbers by 0x indicates hex; ie., 0x10 = 16. Using 8514 for AX
  166.                indicates an 8514A interface, where BX is the mode.
  167.             *  W, H, C  are width, height, colors in this mode. For 24 bit modes
  168.                the colors field has the color order; 123=>BGR, 321=>RGB.
  169.           Additional Information if known
  170.             *  G is the bank granularity in Kbytes; for instance,  the  Paradise
  171.                has 4K banks.
  172.             *  P is the number of color planes; usually 1 for  256  color  modes
  173.                and 4 for 16 color modes. However, the ATI in 1024x768x16 and the
  174.                S3 in 800x600x16 and 1024x768x16 uses 1 plane and 2 pixels/byte.
  175.  
  176.           The modes amy be entered in any order, but listing all  the  VGA  (256
  177.           color) modes followed by the EGA (16 color)  modes,  followed  by  the
  178.           Sierra DAC modes makes sense, and the mode numbers can  be  determined
  179.           by looking at the configuration file.
  180.  
  181.           For specifying the mode N from the command line (/mN option for VPIC), the
  182.           mode numbers increase with increasing resolution and can be found from
  183.           the menu screen as follows:
  184.             *  The 256 color modes are numbered 1 thru 10 starting at 320x200.
  185.             *  The 16 color modes are numbered 11 thru 20 starting at 640x350.
  186.           If you are configured with the Sierra DAC, Targa's will be automatically
  187.           shown in 32K colors if you pick a resolution supported  by  the  board
  188.           for the Sierra DAC.
  189.  
  190.